package org.xx.armory.swing.builders;

import org.xx.armory.objectparser.LineInfo;

public class ListBoxModel
        extends AbstractComponentModel
        implements ComponentModel {
    private final int size;
    private final int rowSize;

    public ListBoxModel(
            LineInfo lineInfo,
            String name,
            boolean visible,
            int size,
            int rowSize
    ) {
        super(lineInfo, name, visible);

        this.size = size;
        this.rowSize = rowSize;
    }

    public int getSize() {
        return this.size;
    }

    public int getRowSize() {
        return this.rowSize;
    }
}
